package lab02.text14;

/**
 * Created by leovo on 2017/10/22.
 */
public class Rectangle extends Shape{
    //属性长、宽
    double lenght;
    double width;
    double area;
    //方法：面积



    @Override
    double  getArea() {return width*lenght;
    }


}
